package game.adm.dao.factory;

import game.adm.dao.ConfigDAO;
import game.adm.dao.impl.ConfigDAOImpl;
import projectx.core.base.ProjectXSystemException;

public class ConfigFactory {

	private static ConfigFactory factory = new ConfigFactory();

	public static void setFactory(ConfigFactory factory) {
		ConfigFactory.factory = factory;
	}

	public static ConfigFactory getFactory() {
		return factory;
	}

	public ConfigDAO getConfigDAO() throws ProjectXSystemException {
		return new ConfigDAOImpl();
	}
}
